package com.common.annotation;

import java.lang.annotation.*;

/**
 * 接口限制注解
 * Created by dell on 2016/7/26.
 */
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented
public @interface ApiLimit {

    boolean repeatCommit() default  false;    //是否允许重复提交

    long hzNum() default 0;   //访问频率限制,毫秒

}
